package com.xuecheng.content.convert;


import com.xuecheng.api.media.dto.TeachplanlMediaDTO;
import com.xuecheng.content.entity.TeachplanMedia;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;
import java.util.List;

/**
 *  课程计划媒资的PO和DTO转换器
 */
@Mapper
public interface TeachplanMediaConvert {

    TeachplanMediaConvert INSTANCE = Mappers.getMapper(TeachplanMediaConvert.class);
    
    TeachplanMedia dto2entity(TeachplanlMediaDTO teachplanDTO);

    TeachplanlMediaDTO entity2dto(TeachplanMedia teachplanMedia);

}